Skip to main content

All Questions

0votes
1answer
666views

Side-effect-free functions and returning domain information DDD

In Domain-Driven Design (Eric Evans) the discussion on side-effect-free functions talks about separating commands which "result in modifications to observable state" from queries which have no side-...
richflow's user avatar
11votes
2answers
937views

Where do we put "asking the world" code when we separate computation from side effects?

According to Command-Query Separation principle, as well as Thinking in Data and DDD with Clojure presentations one should separate side effects (modifying the world) from computations and decisions, ...
Alexey's user avatar
  • 1,269

close